package cn.edu.jsu.zjj.service;

import cn.edu.jsu.zjj.model.dto.major.MajorQueryRequest;
import cn.edu.jsu.zjj.model.entity.Major;
import cn.edu.jsu.zjj.model.entity.Major;
import cn.edu.jsu.zjj.model.entity.TreeSelect;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDate;
import java.util.List;

/**
* @author ly
* @description 针对表【sys_major(系统专业设置)】的数据库操作Service
* @createDate 2024-11-09 10:17:12
*/
public interface MajorService extends IService<Major> {
    /**
     * 查询部门树结构信息
     * @param major
     * @return
     */
    List<TreeSelect> selectDeptTreeList(Major major);

    /**
     * 获取查询条件
     * @param majorQueryRequest
     * @return
     */
    QueryWrapper getQueryWrapper(MajorQueryRequest majorQueryRequest);
}
